<!-- 人员档案-人员详情(学历信息)-->
<template>
  <view class="u-p-b-50">
    <u-card
        :border="false"
        box-shadow="0px 0px 8px #ddd6d6"
        :body-style="{ padding: '0 20rpx' }"
        :head-style="{ padding: '28rpx 30rpx 10rpx' }"
        :head-border-bottom="false"
      >
        <view slot="head">
          <view class="card-row u-flex head">
            <u-section title="学历信息" color="#014833" font-size="32" :right="false"></u-section>
          </view>
        </view>
        <view slot="body">
          <view class="card-row u-p-t-10">
            <scroll-view :scroll-x="true" class="u-flex of-hide">
              <view class="container-body u-flex">
                <view class="body-card">
                  <view class="u-flex u-m-b-20" v-for="(item,index) in list" :key="index">
                    <view class="u-p-r-20 tit">{{ item.name }}</view>
                    <view class="txt">{{ dataMsg[item.msg] }}</view>
                  </view>
                </view>
              </view>
            </scroll-view>
            
          </view>
        </view>
      </u-card>
  </view>
</template>
<script>
  export default {
    props: {
      dataMsg: Object,
    },
    data() {
      return {
        list:[
          {
            name:'学\xa0\xa0\xa0\xa0\xa0\xa0\xa0历(全日制)',
            msg:'education'
          },
          {
            name:'所学专业(全日制)',
            msg:'major'
          },
          {
            name:'毕业院校(全日制)',
            msg:'graduatedSchool'
          },
          {
            name:'最高学历(非全日制)',
            msg:'topEducation'
          },
          {
            name:'所学专业(非全日制)',
            msg:'topMajor'
          },
          {
            name:'毕业院校(非全日制)',
            msg:'topGraduatedSchool'
          },
        ],
      };
	  },
    methods:{

    }
  }
</script>
<style lang="scss" scoped>
  .head{
    padding-bottom: 24rpx;
    border-bottom:  2rpx solid #F6F6F6;
  }
  .body-card{
    .txt{
      color: #666;
    }
    .tit{
      color: #333;
    }
    
  }
</style>